#!/bin/bash

# Тест работы с JSON5-файлами

echo "Тесты анализатора JSON5-файлов =================================" > test/tmp/test-json5-AnalyzeData.out

for file in test/source/json5/analyze/*.json5
do
    echo "--- ${file} :" >> test/tmp/test-json5-AnalyzeData.out
    cat ${file} >> test/tmp/test-json5-AnalyzeData.out
    echo "--- ANALYZE :" >> test/tmp/test-json5-AnalyzeData.out
    build/tests/test-json-AnalyzeData ${file} >> test/tmp/test-json5-AnalyzeData.out
done

exit 0
